const routes  = [
  { 
    path: '/', 
    name: 'home',
    component: '@/Layout/index', 
    routes: [
      { 
        path: '/class-todo', 
        name: 'classtodo', 
        component: '@/pages/ToDoList/ClassToDoList', 
      },
      { 
        path: '/hooks-todo', 
        name: 'hookstodo',
        component: '@/pages/ToDoList/HooksToDoList', 
      },
      {
        path: '/react-arrt',
        name: 'reactarrt',
        component: '@/pages/Attributes'
      }
    ]
  },
  
]

export default routes